/*jslint sloppy: true */
/*global require */
var LM = require('../../global');

LM.directive('formSelector', function () {
	return {
		restrict: 'A',
		link: function (scope, e) {
			e.on('click', function () {
				e[0].select();
			});
		}
	};
});
